const ecs = @import("ecs");
const components = @import("./components.zig");
const game = @import("./game.zig");
const Game = game.Game;

pub fn create_actor(reg: *ecs.Registry, ent: ecs.Entity) void {
    reg.add(ent, components.Translation{
        .x = 0,
        .y = 0,
    });
    reg.add(ent, components.Scale{
        .x = 1,
        .y = 1,
    });
    // self.reg.add(ent, @as(components.Rotate, 0));
    reg.addTyped(components.Rotate, ent, 0);
}
